package alpha.com.google.code.mechanic.janitor.controller;

import com.google.eclipse.mechanic.internal.TaskType;

public class TaskTypeConventer {

  public TaskTypeConventer() {
    
  }
  
  public static TaskType getTaskTypeFromId (String taskid) {
    
    if (taskid.contains("$Lastmod")) {
      
      return TaskType.LASTMOD;
    }
    else {
      return TaskType.RECONCILE;
    }
  }
  
}
